package startup

import (
	"gitee.com/chicken-c/go-learn/webook/pkg/logger"
	"go.uber.org/zap"
)

func InitLogger() logger.Logger {
	log, err := zap.NewDevelopment()
	if err != nil {
		panic(err)
	}
	return logger.NewzapLogger(log)
}
